from A3mall.Tools.common import *
import pytest
if __name__ == '__main__':
    send_log()
    pytest.main(['D:\gaowupy\ykmoli111\A3mall\Testcase\Test_case.py','-s','--html=report/a3mall.html'])
    # 11、报告文件和日志文件为邮件的附件
    str = time.strftime('%Y%m%d-%H%M%S')
    send_mail(['report/a3mall.html',str+'a3mall.log'])
